﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProcurementManagement.Domain.ProcurementDomain
{
    /// <summary>
    /// 采购实退表
    /// </summary>
    [SugarTable("PurchaseRefund")]
    public class PurchaseRefund : Audit
    {
        /// <summary>
        /// 采购实退id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int PurchaseRefundId { get; set; }
        /// <summary>
        /// 实际退款编号
        /// </summary>
        public string? PRActualRefunds { get; set; }
        /// <summary>
        /// 退款类型
        /// </summary>
        public string? PRRefundType { get; set; }
        /// <summary>
        /// 供应商id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 本次退款金额
        /// </summary>
        public decimal? PRRefundAmount { get; set; }
        /// <summary>
        /// 本次退款日期
        /// </summary>
        public DateTime? PRRefundDate { get; set; }
    }
}
